package anyVehicle;

import net.minecraft.src.World;
import net.minecraft.src.WorldInfo;

public class VehicleWorldInfo extends WorldInfo {

	private World parentWorld;

	public VehicleWorldInfo(WorldInfo worldinfo, World parentWorld) {
		super(worldinfo);
		this.parentWorld = parentWorld;
	}

	@Override
	public long getWorldTime() {
		return parentWorld.getWorldTime();
	}

	@Override
	public void setWorldTime(long time) {
		// do nothing
	}

	
}
